package org.heng.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.heng.dao.entity.TicketDO;

import java.util.List;

public interface TicketMapper extends BaseMapper<TicketDO> {
    Integer buyTicket(@Param("ticketName") String ticketName, @Param("count") List<String> code);

    Integer addStock(@Param("addCount") Long stock, @Param("name") String name);
}
